package ml.coursedesign.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author likeqc.top
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CourseDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * courseName: 'Java Web',
   * hours: '64',
   * credit: '3',
   * classCount: '3',
   * studentCount: 122,
   * teachers: ['兰全祥']
   */
  /** 课程名 */
  private String courseName;
  /** 学时 */
  private Integer hours;
  /** 学分 */
  private Float credit;
  /** 课程班级数 */
  private Integer classCount;
  /** 选课总人数 */
  private Integer studentCount;
  /** 授课教师 */
  private String[] teachers;
}
